@import './color-card.less';
@import './markdown.less';

:root {
  --nav-bar-width: 268px;
  --top-bar-height: 60px;
}

html,
body {
  // 平滑滚动
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji', Segoe UI Symbol, 'Noto Color Emoji' !important;
}

a {
  text-decoration: none;
  color: @lcolor;
  transition: 0.3s;
}

/* scroll */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-corner {
  background-color: @bg-color-s;
}

::-webkit-scrollbar-thumb {
  border: 3px solid @bg-color-s;
  border-radius: 8px;
  background-color: @line-color-m;
  transition: background-color @animats, border @animats;
}

::-webkit-scrollbar-track {
  background-color: @bg-color-s;
  transition: all @animats;
}
